/**
 * InOutInstruction(a,b).act() => a=b
 * @author pabergg
 *
 */
public class InOutInstruction implements InstructionInterface {

	IntWrapper param1;
	IntWrapper param2;
	
	public InOutInstruction(IntWrapper a,IntWrapper b){
		param1=a;
		param2=b;
	}
	
	@Override
	public Integer act() {
		param1.set(param2.get());
		return null;
	}
	
}